Skip to content

Additional rules to inject openapi type #2420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

api-clients-generation-pipeline[bot]
Copy link
Contributor

}

attribute_map = {
"data": "data",
}

def __init__(self_, data: Any, **kwargs):
def __init__(self_, data: OktaAccountUpdateRequestData, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
def __init__(self_, data: OktaAccountUpdateRequestData, **kwargs):
def __init__(self, data: OktaAccountUpdateRequestData, **kwargs):
first parameter of a class function should be self (...read more)

In a class method (that is not a class method nor a static method), the first argument must be self by convention.

Learn More

View in Datadog  Leave us feedback  Documentation

@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3588 branch from ec4c94a to 26f06c4 Compare February 18, 2025 22:26
@api-clients-generation-pipeline api-clients-generation-pipeline bot merged commit 910ab16 into master Feb 19, 2025
16 checks passed
@api-clients-generation-pipeline api-clients-generation-pipeline bot deleted the datadog-api-spec/generated/3588 branch February 19, 2025 14:19
github-actions bot pushed a commit that referenced this pull request Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant